{% extends "base.html" %}
  {% block content %}
    {% from "forms/macros.html" import render_field %}
    <h2> Nuevo Atributo </h2>
    <form method="POST" action="." class="form">
      {{ form.csrf_token }}
      {{ render_field(form.nombre, class="input text", readonly=true) }}
      </br>
      {{ render_field(form.tipo, class="input text",readonly=true)}}
      </br>
      {{ render_field(form.descripcion, class="textarea text", rows=10, cols=15)}}
      </br>
      
      
      <button type="submit" value="Aceptar" class="button green">Aceptar</button>
	  <button type="submit">
	    	<a href="{{ url_for('atributos.administracion_atributo') }}">Cancelar</a>
	  </button>  
    </form>
  {% endblock %}